{% extends 'base.html' %}

{% block navbar %}
	<div>
		{% if username %}
			{{ username }}
			<a href="/user/logout">Sair</a>
		{% endif %}
	</div>
{% endblock %}

{% block sidebar %}
	<div class="sidebar">
		<h3>Menu</h3>
		<ul>
			<li><a href="/user/edit">Editar Conta</a></li>
			<li><a href="/user/delete">Excluir Conta</a></li>
			<br />
			<br />
        	<li><a href="/timelines/new">Nova Timeline</a></li>
        	<li><a href="/user/timelines">Minhas Timelines</a></li>
        	<br />
			<br />
        	<li><a href="/user/events">Meus Eventos</a></li>
      	</ul>
	</div>
{% endblock %}
	
{% block content %}
<script>
	$("#user_menu").addClass("selected");
</script>  
	
<p>Nome: {{ user_name }}</p>
<p>E-mail: {{ user_email }}</p>	
	
{% endblock %}
